package friot.model.iot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (IotDevice)实体类
 *
 * @author makejava
 * @since 2024-03-13 23:03:43
 */
@Data
@TableName("iot_device")
public class IotDevice implements Serializable {
    private static final long serialVersionUID = -42628347160054527L;
    /**
     * 设备ID
     */
    @TableId(type = IdType.INPUT)
    private Long deviceId;
    /**
     * 所属用户ID
     */
    private Integer userId;
    /**
     * 模型ID
     */
    private Integer modelId;
    /**
     * 设备别称
     */
    private String nickname;
    /**
     * 逻辑模型
     */
    private String modelKey;
    /**
     * 创建时间
     */
    private String createTime;

}

